import 'dart:ui';

// ignore_for_file: constant_identifier_names
/// APP 颜色值, 根据设计师提供的设计规范来调整
abstract class AppColors {
  AppColors._();

  // 主色 Primary Color
  static const Color primary_color = Color(0xFF0AB27D);

  // 按钮蓝
  static const Color blue_button = Color(0xFF5C6DFF);


  // 语义色 Meaning Color
  static const Color meaning_color_danger = Color(0xFFFA4263);

  static const Color meaning_color_success = Color(0xFF5478F6);

  // 背景色 Background Color
  // #088B61
  static const Color background_color_green = Color(0xFF088B61);

  // 灰色背景
  static const Color bg_color_grey = Color(0xFFF7FBFE);

  // 页面背景灰
  static const Color bg_page_color = Color(0xFFF7FBFE);

  // 按钮背景灰
  static const Color button_grey = Color(0x1A5C639F);

  // 输入框背景
  static const Color bg_color_input = Color(0xFFF7F7FB);

  // ======== 文字色 Typography Color ===========

  // #949F9E
  static const Color font_color_gray = Color(0xFF949F9E);

  // #5C6DFF
  static const Color font_color_blue = Color(0xFF5C6DFF);

  // #262626
  static const Color font_color_black = Color(0xFF262626);

  /// 0xFFFFFFFF
  static const Color font_color_while = Color(0xFFFFFFFF);

  // divider Color(0xffF0F0F0)
  static const Color divider_color = Color(0xffF0F0F0);
  /// #587DF5 alpha 20
  static const Color divider_color_blue = Color.fromARGB(51, 88, 125, 245);

  static const Color text_grey = Color(0xFFA0A7B5);


  // 灰色系 Grey Color
  static const Color grey_color100 = Color(0xFFF4F2F5);
  static const Color grey_color_white = Color(0xFFFFFFFF);
  static const Color gray = Color(0xFF8791AA);
  static const Color text_background_grey = Color(0xFFF4F5F6);
  static const Color Pure_gray_bg = Color(0xffF3F5F9);
}

/// 滤镜色
abstract class AppColorFilters {
  AppColorFilters._();

  /// 灰度
  static const ColorFilter gray = ColorFilter.matrix(<double>[
    0.2126,
    0.7152,
    0.0722,
    0,
    0,
    0.2126,
    0.7152,
    0.0722,
    0,
    0,
    0.2126,
    0.7152,
    0.0722,
    0,
    0,
    0,
    0,
    0,
    1,
    0,
  ]);
}
